{
  "pointTypes": {
    "pointType": [
    {{foreach from=$taskPoints item=point name=fetaskPoints}}
      {
        "pintid": "{{$point->getPointTypeId()}}",
        "taskid": "{{$point->getTaskId()}}",
        "point": "{{$point->getPoint()}}"
      }
      {{if $smarty.foreach.fetaskPoints.last}} {{else}},{{/if}}
      {{/foreach}}
    ]
  }
}